package ThreadedBinaryTree;

public class Node {
    private int number;
    private String name;
    private Node nextLeft;
    private Node nextRight;

    private int obLeft;
    private int obRight;

    public int getObLeft() {
        return obLeft;
    }

    public void setObLeft(int obLeft) {
        this.obLeft = obLeft;
    }

    public int getObRight() {
        return obRight;
    }

    public void setObRight(int obRight) {
        this.obRight = obRight;
    }



    public Node(int number, String name) {
        this.number = number;
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Node getNextLeft() {
        return nextLeft;
    }

    public void setNextLeft(Node nextLeft) {
        this.nextLeft = nextLeft;
    }

    public Node getNextRight() {
        return nextRight;
    }

    public void setNextRight(Node nextRight) {
        this.nextRight = nextRight;
    }
}
